<script>
    $.post('{{ urlfor "ProductsController.GetOptions"}}',{'fields':['goods_care_solution_spec','goods_unit_info' ]}, function(res){
        setattroption('Spec',res.data.goods_care_solution_spec);
        setattroption('Unit',res.data.goods_unit_info);
    });
    function setSelectDefault(id) {
        switch(id){
            case 'Spec':$('#Spec').val('{{.m.Spec}}');break;
            case 'Unit':$('#Unit').val('{{.m.Unit}}');break;
        };
        $("select").trigger('changed.selected.amui');
    }
</script>
{{template "./products/prozl/p.html" .}}

